-- 6004.lua
-- 预警III型-M50 BUFF光效

return {
    onAppear = function(monster)    
        local steelDoor = AvalonFortM.findSteelDoor();
        local monsterGrid = UIDungeonMgr:getCurLevel().grids[monster:getPos()];

        if steelDoor and steelDoor.state ~= GRID_STATE_DISABLE then
            -- 有钢铁之门，播放“属性增益”光效
            playAddBuffEffect(monsterGrid, BUFF_TYPE_ATTACK);
        end
    end,
};
